package cn.tedu.blackhorse.mapper;

import cn.tedu.blackhorse.pojo.entity.Permission;
import cn.tedu.blackhorse.pojo.entity.Salary;
import cn.tedu.blackhorse.pojo.vo.AdminStandardVO;
import cn.tedu.blackhorse.pojo.vo.SalaryListItemVO;
import cn.tedu.blackhorse.pojo.vo.SalaryStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SalaryMapper {
    int insert(Salary salary);

    int deleteByTeacherId(Long teacherId);

    int deleteByIds(List<Long> ids);

    int updateByTeacherId(Salary salary);

    int count();

    List<SalaryListItemVO> list();

    SalaryStandardVO getByTeacherId(Long teacherId);
}
